[6.19.z] fix Future Dated Subs Test - #20882
Merged
Satellite-QE merged 1 commit intoFeb 26, 2026
Merged
Conversation
* fixFutureDateSubsTest * Address comment * changeFunctionComment (cherry picked from commit fdaa318)
Collaborator
Author
|
trigger: test-robottelo |
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdjusts the future-dated subscription manifest fixture to only provide manifest content and moves the manifest upload into the specific UI test so the test explicitly controls when and where the manifest is uploaded. Sequence diagram for future-dated subscription manifest upload in UI testsequenceDiagram
actor Tester
participant Pytest as PytestRunner
participant Test as test_positive_populate_future_date_subcription
participant Fixture as func_future_dated_subscription_manifest
participant Manifester as Manifester
participant TargetSat as target_sat
participant Satellite as SatelliteServer
Tester ->> Pytest: run tests/foreman/ui/test_subscription.py
Pytest ->> Test: execute test_positive_populate_future_date_subcription
Test ->> Fixture: request func_future_dated_subscription_manifest
activate Fixture
Fixture ->> Manifester: __enter__(manifest_category=future_date_subscription)
activate Manifester
Manifester -->> Fixture: manifest (with content)
Fixture -->> Test: yield manifest
deactivate Manifester
deactivate Fixture
Note over Test,TargetSat: Manifest upload is now explicitly controlled by the test
Test ->> TargetSat: upload_manifest(function_org.id, manifest.content)
activate TargetSat
TargetSat ->> Satellite: store manifest for organization
Satellite -->> TargetSat: manifest stored
deactivate TargetSat
Test -->> Pytest: assertions on future-dated subscription UI
Pytest -->> Tester: test result
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Satellite-QE
deleted the
cherry-pick-6.19.z-fdaa318f75ff5a18c6cc600850e1788a6a01981f
branch
February 26, 2026 08:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherrypick of PR: #20873
Summary by Sourcery
Bug Fixes: